<!DOCTYPE html>
<!--
  ~ Copyright (c) 2018.
  ~ This file was written by fancyears·milos·malvis @connor. Any question/bug you can post to 1243093366@qq.com.
  ~ ALL RIGHTS RESERVED.
  -->

<html xmlns:th="http://www.thymeleaf.org">
<head th:include="include/includebase"></head>
<!--<link th:href="@{/css/stage/bom-stage.css}" rel="stylesheet"/>-->
<title>Hz-相关性表</title>
<!--<body>-->
<!--<div class="panel-body">-->
<!--<div class="content col-lg-6">-->
<!--<button class="btn btn-default" id="query" type="button">查询相关性表</button>-->
<!--<button class="btn btn-default" id="refresh" type="button" disabled="disabled">刷新</button>-->
<!--<table class="table table-striped" id="dataTable"></table>-->
<!--</div>-->
<!--</div>-->

<body class="content-body">
<div class="panel-body">
    <div class="content col-lg-4">
        <div class="input-group">
            <!--<button class="btn btn-default" id="query" type="button">查询相关性表</button>-->
            <button class="btn btn-default" id="refresh" type="button" disabled="disabled">刷新</button>
            <!--<button class="btn btn-default" id="query" type="button">查询配置物料特性表</button>-->
            <!--<button class="btn btn-default" id="refresh" type="button" disabled="disabled">刷新</button>-->
        </div>
    </div>
    <div class="content col-lg-12">
        <table class="table table-striped tableNormalStyle" id="dataTable"></table>
    </div>
</div>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
     aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-hidden="true">×
                </button>
                <h4 class="modal-title" id="myModalLabel">操作错误</h4>
            </div>
            <div class="modal-body">请在首页选择一个项目进行查询</div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                </button>
            </div>
        </div>
    </div>
</div>

<script th:src="@{/js/helper/projectHelper.js}"></script>
<script th:src="@{/js/cfg/relevance/relevance.js}"></script>
</body>
<script th:inline="javascript">
    function doQuery() {
        $('#dataTable').bootstrapTable('refresh');    //刷新表格
    }

    function doRefresh(projectUid) {
        loadData(projectUid);
    }
</script>
</html>